// store/modules/missionHall.js
const state = {
    detailsShow: true,
    task_uuid: null,
    good_id: null,
  };
  
  const mutations = {
    SET_DETAILS_SHOW(state, value) {
      state.detailsShow = value;
    },
    SET_TASK_UUID(state, value) {
      state.task_uuid = value;
    },
    SET_GOOD_ID(state, value) {
      state.good_id = value;
    },
  };
  
  const actions = {
    setDetailsShow({ commit }, value) {
      commit('SET_DETAILS_SHOW', value);
    },
    setTaskUuid({ commit }, value) {
      commit('SET_TASK_UUID', value);
    },
    setGoodId({ commit }, value) {
      commit('SET_GOOD_ID', value);
    },
  };
  
  const getters = {
    detailsShow: (state) => state.detailsShow,
    task_uuid: (state) => state.task_uuid,
    good_id: (state) => state.good_id,
  };
  
  export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters,
  };